package fun.easycode.webterminal.service;

import fun.easycode.webterminal.common.contract.PageDTO;
import fun.easycode.webterminal.common.contract.R;
import fun.easycode.webterminal.service.cmd.TopologyPageQry;
import fun.easycode.webterminal.service.cmd.TopologySaveCmd;
import fun.easycode.webterminal.service.dto.TopologyDTO;

public interface TopologyService {
    R<String> delete(String id);

    R<TopologyDTO> getById(String id);

    R<PageDTO<TopologyDTO>> page(TopologyPageQry cmd);

    R<String> save(TopologySaveCmd cmd);
}
